package com.whz.workmanageol.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table
@Entity
public class TeacherGrade implements Serializable {
    @Id
    private String id;
    @Column
    private String teacherid;
    @Column
    private String gradeid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }

    public String getGradeid() {
        return gradeid;
    }

    public void setGradeid(String gradeid) {
        this.gradeid = gradeid;
    }

    @Override
    public String toString() {
        return "TeacherGrade{" +
                "id='" + id + '\'' +
                ", teacherid='" + teacherid + '\'' +
                ", gradeid='" + gradeid + '\'' +
                '}';
    }
}
